/**
 * MainAppConfig Interface
 * 
 * Defines the data structure for the response from the /app/config API.
 */
export interface MainAppConfig {
    version_code: number;       // 版本号
    version_name: string;       // 版本名称
    release_notes: string;      // 更新日志
    download_url: string;       // 下载地址
    app_notice: string;         // 应用内公告
}

export interface QuotaInfo {
    totalCount: number;
    usedCount: number;
    remainingCount: number;
    startTime: string;
    expireTime: string;
    isCurrentlyActive: boolean;
}

export interface UserInfo {
    userId: number;
    username: string;
    email: string;
    createdAt: string;
    lastLogin: string;
    maliceCount: number;
    quotaInfo: QuotaInfo | null;
} 